var loginer = App.get("loginer");
console.log(loginer);
var host = location.host;
var text = "http://" + host + "/beingfri.html?tid=" + loginer.tid + "&sid=" + loginer.sid;
//var text = "http://192.168.31.182:1104/beingfri.html?tid=" + loginer.tid + "&sid=" + loginer.sid;
// var text = "http://192.168.31.182:1104/beingfri.html?sid=" + loginer.sid;
console.log(text);
var options = {
	render: 'canvas',
	ecLevel: 'H',
	minVersion: 6,
	fill: '#777777',
	background: '#ffffff',
	text: text,
	size: 400,
	radius: '.5',
	quiet: 1,
	mode: 4,
	mSize: .3, //logo尺寸
	mPosX: .5, //水平位置
	mPosY: .5, //垂直位置
	label: 'js-css',
	fontname: "Ubuntu",
	fontcolor: "#ff9818",
	image: $("#img-buffer")[0]
};
$("#qrcode").empty().qrcode(options);